package cn.wzptsoft.tinymallbe.entity;


import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
import java.math.BigDecimal;
import java.util.List;

@Entity
@Getter
@Setter
public class OrderItem extends BaseEntity{

//    数量
    private Integer count;
//地址id
    private Long orderId;

    private Long skuId;
//图片
    private String snapImage;
//价格
    private BigDecimal snapPrice;
//标题
    private String snapTitle;
//
    private Long spuId;

}
